package com.hjm.project.merchantInfo.merRecord.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商户换机,商户迁移对象 mer_record
 * 
 * @author maker-platform
 * @date 2021-04-01
 */
public class MerRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 商户编号 */
    @Excel(name = "商户编号")
    private String merNo;

    /** 原代理编号 */
    @Excel(name = "原代理编号")
    private String agentNum;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 类型 1 换机 2商户迁移 3代理商迁移*/
    @Excel(name = "类型 1 换机 2商户迁移 3代理商迁移")
    private String type;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDate;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operation;

    /** 新代理编号 */
    @Excel(name = "新代理编号")
    private String newAgentNum;

    /** 原SN */
    @Excel(name = "原SN")
    private String sn;

    /** 新SN */
    @Excel(name = "新SN")
    private String newSn;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setMerNo(String merNo)
    {
        this.merNo = merNo;
    }

    public String getMerNo()
    {
        return merNo;
    }
    public void setAgentNum(String agentNum)
    {
        this.agentNum = agentNum;
    }

    public String getAgentNum()
    {
        return agentNum;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }

    public String getCreateDate()
    {
        return createDate;
    }
    public void setOperation(String operation)
    {
        this.operation = operation;
    }

    public String getOperation()
    {
        return operation;
    }
    public void setNewAgentNum(String newAgentNum)
    {
        this.newAgentNum = newAgentNum;
    }

    public String getNewAgentNum()
    {
        return newAgentNum;
    }
    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getSn()
    {
        return sn;
    }
    public void setNewSn(String newSn)
    {
        this.newSn = newSn;
    }

    public String getNewSn()
    {
        return newSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merNo", getMerNo())
            .append("agentNum", getAgentNum())
            .append("note", getNote())
            .append("type", getType())
            .append("createDate", getCreateDate())
            .append("operation", getOperation())
            .append("newAgentNum", getNewAgentNum())
            .append("sn", getSn())
            .append("newSn", getNewSn())
            .toString();
    }
}
